home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat2 / standard / fpathconf.z / fpathconf
Encoding:
Text File  |  2002-10-03  |  12.8 KB  |  296 lines

  1.  
  2.  
  3.  
  4. ffffppppaaaatttthhhhccccoooonnnnffff((((2222))))                                                      ffffppppaaaatttthhhhccccoooonnnnffff((((2222))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _ffff_pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff, _pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff - get configurable pathname variables
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_uuuu_nnnn_iiii_ssss_tttt_dddd_...._hhhh_>>>>
  13.  
  14.      _llll_oooo_nnnn_gggg _ffff_pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff _((((_iiii_nnnn_tttt _ffff_iiii_llll_dddd_eeee_ssss_,,,, _iiii_nnnn_tttt _nnnn_aaaa_mmmm_eeee_))))_;;;;
  15.  
  16.      _llll_oooo_nnnn_gggg _pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff _((((_cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _****_pppp_aaaa_tttt_hhhh_,,,, _iiii_nnnn_tttt _nnnn_aaaa_mmmm_eeee_))))_;;;;
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      The functions _ffff_pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff and _pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff return the current value of a
  20.      configurable limit or option associated with a file or directory.  The
  21.      _p_a_t_h argument points to the pathname of a file or directory; _f_i_l_d_e_s is an
  22.      open file descriptor; and _n_a_m_e is the symbolic constant (defined in
  23.      _<<<<_ssss_yyyy_ssss_////_uuuu_nnnn_iiii_ssss_tttt_dddd_...._hhhh_>>>>) representing the configurable system limit or option to
  24.      be returned.
  25.  
  26.      The values returned by _pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff and _ffff_pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff depend on the type of file
  27.      specified by _p_a_t_h or _f_i_l_d_e_s.  The following table contains the symbolic
  28.      constants supported by _pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff and _ffff_pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff.  The return value is based
  29.      on the type of file specified by _p_a_t_h or _f_i_l_d_e_s.
  30.  
  31.                         ___________________________________
  32.                             Value of _n_a_m_e         See Note
  33.                         ___________________________________
  34.                         ___________________________________
  35.                          ______PPPP_CCCC______FFFF_IIII_LLLL_EEEE_SSSS_IIII_ZZZZ_EEEE_BBBB_IIII_TTTT_SSSS           3,4
  36.                         ___________________________________
  37.                          ______PPPP_CCCC______LLLL_IIII_NNNN_KKKK______MMMM_AAAA_XXXX                1
  38.                         ___________________________________
  39.                          ______PPPP_CCCC______MMMM_AAAA_XXXX______CCCC_AAAA_NNNN_OOOO_NNNN               2
  40.                         ___________________________________
  41.                          ______PPPP_CCCC______MMMM_AAAA_XXXX______IIII_NNNN_PPPP_UUUU_TTTT               2
  42.                         ___________________________________
  43.                          ______PPPP_CCCC______NNNN_AAAA_MMMM_EEEE______MMMM_AAAA_XXXX               3,4
  44.                         ___________________________________
  45.                          ______PPPP_CCCC______PPPP_AAAA_TTTT_HHHH______MMMM_AAAA_XXXX               4,5
  46.                         ___________________________________
  47.                          ______PPPP_CCCC______PPPP_IIII_PPPP_EEEE______BBBB_UUUU_FFFF                6
  48.                         ___________________________________
  49.                          ______PPPP_CCCC______CCCC_HHHH_OOOO_WWWW_NNNN______RRRR_EEEE_SSSS_TTTT_RRRR_IIII_CCCC_TTTT_EEEE_DDDD        7
  50.                         ___________________________________
  51.                          ______PPPP_CCCC______NNNN_OOOO______TTTT_RRRR_UUUU_NNNN_CCCC               3,4
  52.                         ___________________________________
  53.                          ______PPPP_CCCC______VVVV_DDDD_IIII_SSSS_AAAA_BBBB_LLLL_EEEE                2
  54.                         ___________________________________
  55.                          ______PPPP_CCCC______AAAA_SSSS_YYYY_NNNN_CCCC______IIII_OOOO                8
  56.                         ___________________________________
  57.                          ______PPPP_CCCC______AAAA_BBBB_IIII______AAAA_SSSS_YYYY_NNNN_CCCC______IIII_OOOO            8
  58.                         ___________________________________
  59.                         |||||||||||||||||||||||||||
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.                                                |||||||||||||||||||||||||||
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.                                                            |||||||||||||||||||||||||||
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.                                                                         PPPPaaaaggggeeee 1111
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149. ffffppppaaaatttthhhhccccoooonnnnffff((((2222))))                                                      ffffppppaaaatttthhhhccccoooonnnnffff((((2222))))
  150.  
  151.  
  152.  
  153.                        ____________________________________
  154.                          ______PPPP_CCCC______AAAA_BBBB_IIII______AAAA_IIII_OOOO______XXXX_FFFF_EEEE_RRRR______MMMM_AAAA_XXXX        8
  155.                         ___________________________________
  156.                          ______PPPP_CCCC______SSSS_YYYY_NNNN_CCCC______IIII_OOOO                 8
  157.                         ___________________________________
  158.                          ______PPPP_CCCC______PPPP_RRRR_IIII_OOOO______IIII_OOOO                 8
  159.                         ___________________________________
  160.                         |||||||
  161.  
  162.  
  163.  
  164.  
  165.  
  166.                                                |||||||
  167.  
  168.  
  169.  
  170.  
  171.  
  172.                                                            |||||||
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.      Notes:
  181.      1    If _p_a_t_h or _f_i_l_d_e_s refers to a directory, the value returned applies
  182.           to the directory itself.
  183.  
  184.      2    The behavior is undefined if _p_a_t_h or _f_i_l_d_e_s does not refer to a
  185.           terminal file.
  186.  
  187.      3    If _p_a_t_h or _f_i_l_d_e_s refers to a directory, the value returned applies
  188.           to the filenames within the directory.
  189.  
  190.      4    The behavior is undefined if _p_a_t_h or _f_i_l_d_e_s does not refer to a
  191.           directory.
  192.  
  193.      5    If _p_a_t_h or _f_i_l_d_e_s refers to a directory, the value returned is the
  194.           maximum length of a relative pathname when the specified directory
  195.           is the working directory.
  196.  
  197.      6    If _p_a_t_h or _f_i_l_d_e_s refers to a pipe or FIFO, the value returned
  198.           applies to the FIFO itself.  If _p_a_t_h or _f_i_l_d_e_s refers to a
  199.           directory, the value returned applies to any FIFOs that exist or can
  200.           be created within the directory.  If _p_a_t_h or _f_i_l_d_e_s refer to any
  201.           other type of file, the behavior is undefined.
  202.  
  203.      7    If _p_a_t_h or _f_i_l_d_e_s refers to a directory, the value returned applies
  204.           to any files, other than directories, that exist or can be created
  205.           within the directory.
  206.  
  207.      8    The behavior is undefined if _p_a_t_h or _f_i_l_d_e_s refers to a directory.
  208.  
  209.      The value of the configurable system limit or option specified by _n_a_m_e
  210.      does not change during the lifetime of the calling process.
  211.  
  212.      _ffff_pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff fails if the following is true:
  213.  
  214.      _EEEE_AAAA_CCCC_CCCC_EEEE_SSSS Read permission is denied on the named file.
  215.  
  216.      _EEEE_BBBB_AAAA_DDDD_FFFF  _f_i_l_d_e_s is not a valid file descriptor.
  217.  
  218.      _pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff fails if one or more of the following are true:
  219.  
  220.  
  221.  
  222.  
  223.  
  224.                                                                         PPPPaaaaggggeeee 2222
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231. ffffppppaaaatttthhhhccccoooonnnnffff((((2222))))                                                      ffffppppaaaatttthhhhccccoooonnnnffff((((2222))))
  232.  
  233.  
  234.  
  235.      _EEEE_AAAA_CCCC_CCCC_EEEE_SSSS search permission is denied for a component of the path prefix.
  236.  
  237.      _EEEE_LLLL_OOOO_OOOO_PPPP  too many symbolic links are encountered while translating _p_a_t_h.
  238.  
  239.      _EEEE_MMMM_UUUU_LLLL_TTTT_IIII_HHHH_OOOO_PPPP
  240.             components of _p_a_t_h require hopping to multiple remote machines and
  241.             file system type does not allow it.
  242.  
  243.      _EEEE_NNNN_AAAA_MMMM_EEEE_TTTT_OOOO_OOOO_LLLL_OOOO_NNNN_GGGG
  244.             the length of a pathname exceeds _{{{{_PPPP_AAAA_TTTT_HHHH______MMMM_AAAA_XXXX_}}}}, or pathname component
  245.             is longer than _{{{{_NNNN_AAAA_MMMM_EEEE______MMMM_AAAA_XXXX_}}}} while _((((______PPPP_OOOO_SSSS_IIII_XXXX______NNNN_OOOO______TTTT_RRRR_UUUU_NNNN_CCCC_)))) is in effect.
  246.  
  247.      _EEEE_NNNN_OOOO_EEEE_NNNN_TTTT _p_a_t_h is needed for the command specified and the named file does
  248.             not exist or if the _p_a_t_h argument points to an empty string.
  249.  
  250.      _EEEE_NNNN_OOOO_LLLL_IIII_NNNN_KKKK_p_a_t_h points to a remote machine and the link to that machine is no
  251.             longer active.
  252.  
  253.      _EEEE_TTTT_IIII_MMMM_EEEE_DDDD_OOOO_UUUU_TTTT
  254.             A component of _p_a_t_h resides on a remote system which is not
  255.             available [see _iiii_nnnn_tttt_rrrr_oooo(2)].
  256.  
  257.      _EEEE_NNNN_OOOO_TTTT_DDDD_IIII_RRRRa component of the path prefix is not a directory.
  258.  
  259.      Both _ffff_pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff and _pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff fail if the following is true:
  260.  
  261.      _EEEE_IIII_NNNN_VVVV_AAAA_LLLL if _n_a_m_e is an invalid value.
  262.  
  263. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  264.      _ssss_yyyy_ssss_cccc_oooo_nnnn_ffff(3c), _uuuu_llll_iiii_mmmm_iiii_tttt(2), _llll_iiii_mmmm_iiii_tttt_ssss(4).
  265.  
  266. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  267.      If the configurable system limit or option corresponding to _n_a_m_e is not
  268.      supported on the system, -1 is returned and the value of _eeee_rrrr_rrrr_nnnn_oooo is not
  269.      changed.
  270.  
  271.      If the option corresponding to _n_a_m_e is known but of unlimited value for
  272.      the given path, -1 is returned and the value of _eeee_rrrr_rrrr_nnnn_oooo is not changed.
  273.  
  274.      If _ffff_pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff or _pppp_aaaa_tttt_hhhh_cccc_oooo_nnnn_ffff are invoked with an invalid symbolic constant,
  275.      -1 is returned and _eeee_rrrr_rrrr_nnnn_oooo is set to indicate the error.
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.                                                                         PPPPaaaaggggeeee 3333
  291.  
  292.  
  293.  
  294.